home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / mac / Sample Code / Human Interface Toolbox / ReKeyTrans / readme•ReKeyTrans next >
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  32 lines  |  [TEXT/ttxt]

  1.  
  2.     OK, intrepid developer-like objects, we admit it! We don't
  3.     know where this sample came from and we don't know anything about
  4.     its original intent. However, since we're super-geniuses, we were
  5.     able to make up a plausible story.
  6.  
  7.     Say you're a terminal emulator. And you have to run on a Mac Plus.
  8.     With us so far? Now, the Plus doesn't have a control key, but you'd
  9.     really like to pretend it does. So you use the option key. Here's where
  10.     the problem comes in.
  11.  
  12.     The default behavior of KeyTrans is to support umlauts and other
  13.     fun letter modifiers by making option-U, for example, into a
  14.     "dead" key which results in no keystrokes but modifies subsequent
  15.     keystrokes. So when you type option-U followed by a u, you get: 'ü'.
  16.     And there was much rejoicing, except in Terminal Emulator Land.
  17.     There, the people were downtrodden, as they had no way to tell
  18.     their UNIX command line to clear.
  19.  
  20.     So, you ask, why don't I just install my own keymap? Well, that'd
  21.     be swell for all us qwerty people, but the people who type on those
  22.     keyboards with all the keys rearranged would really hate it (Hi Quinn!)
  23.     and they'd have to relearn the icky qwerty (try typing that 5 times
  24.     fast) layout again after they'd gone to all the effort of rearranging
  25.     their keycaps on the keyboard so they'd feel funny (they're not all
  26.     the same shape, you know). So...
  27.     
  28.     This sample shows how to patch KeyTrans in order to completely
  29.     ignore the dead-key processing that goes on and lets you type those
  30.     fancy accented characters. You're back in 7-bit ASCII days now,
  31.     bucko. Enjoy.
  32.